(function(TYPES,typeId){
    function my_a(){
        var that = this;
        this.run=function(puzzleShape){
            var shapeNodes = new ArrayList();
            var solver = Solver.getInstance();
            var simplifiedShapes = solver.simplify(puzzleShape);
            simplifiedShapes=ME.toJs(simplifiedShapes);

            for each (var simplifiedShape in simplifiedShapes) {
                var puzzleShape = new PuzzleShapeNode(simplifiedShape);
                shapeNodes.add(puzzleShape);
            };
            return shapeNodes;
        }
    }    TYPES.registerType(typeId,my_a);
})(GENERATORS,"TestSimplifiedShapesGenerator-1");
